﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ExcellOnServices.Controllers
{
    public class AccountController : Controller
    {
        //
        // GET: /Login/
        public ActionResult Login(string returnUrl)
        {
            var area = returnUrl.TrimStart('/').Split('/').FirstOrDefault();

            //if (!string.IsNullOrEmpty(area))
            return RedirectToAction("Login", "Account", new { area });
        }
    }
}